<?php

class ManageController extends Controller {

    public function indexAction() {
        session_start();
        if(!isset($_SESSION['admin'])) {
            $this->_jump("index.php?p=back&c=admin&a=login");
        }
        include CURRENT_VIEW_PATH . 'index.html';
    }

    public function topAction() {
        include CURRENT_VIEW_PATH . 'top.html';
    }

    public function menuAction() {
        include CURRENT_VIEW_PATH . 'menu.html';
    }

    public function dragAction() {
        include CURRENT_VIEW_PATH . 'drag.html';
    }

    public function mainAction() {
        include CURRENT_VIEW_PATH . 'main.html';
    }
}